package com.tac.dao;

import com.tac.pojo.Student;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentDao {
    @Select("select * from student ")
    public List<Student> selectAll();

    @Delete("delete from student where id=#{id}")
    public Integer delete(Integer sid);
}
